package com.seaboxdata.service.impl;

import com.seaboxdata.dao.RkjbxxDao;
import com.seaboxdata.entity.Rkjbxx;
import com.seaboxdata.service.RkjbxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author
 * @create 2021-06-23 14:30
 **/
@Service("rkjbxxService")
public class RkjbxxServiceImpl implements RkjbxxService {

    @Autowired
    private RkjbxxDao rkjbxxDao;

    @Override
    public Rkjbxx getByCardNoAndName(String cardNo, String name) {
        return rkjbxxDao.getByCardNoAndName(cardNo,name);
    }

    @Override
    public Rkjbxx getByCardNoAndNameEncode(String cardNo, String name) {
        return rkjbxxDao.getByCardNoAndNameEncode(cardNo,name);
    }
}
